package com.normal.main

import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.LifecycleOwner
import com.normal.zbase.impl.base.BaseApplication
import com.normal.zbase.impl.tools.utils.LifecycleBindOwner

class MyApplication : BaseApplication() {
    override val hostUrlList: String
        get() = "http://10.10.12.133:888/"
//        get() = "http://117.143.63.234:8843/"
    override val hTTP_TAG: String
        get() = "HTTP"
    override val isPrintHttpLog: Boolean
        get() = true

    override fun initConfig() {
        super.initConfig()
        LifecycleBindOwner.instance().bindApp(object : DefaultLifecycleObserver {
            override fun onCreate(owner: LifecycleOwner) {
                super.onCreate(owner)
            }

            override fun onDestroy(owner: LifecycleOwner) {
                super.onDestroy(owner)
            }
        })

    }

}